[INFO] cloning repository https://github.com/Ibrahimsterlingjomany/sterling-amm-mainnet-7v9-verifiable-build
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ibrahimsterlingjomany/sterling-amm-mainnet-7v9-verifiable-build" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIbrahimsterlingjomany%2Fsterling-amm-mainnet-7v9-verifiable-build", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIbrahimsterlingjomany%2Fsterling-amm-mainnet-7v9-verifiable-build'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cb6ed37fd9cd13fd62690babc5adad904eaa2d85
[INFO] testing Ibrahimsterlingjomany/sterling-amm-mainnet-7v9-verifiable-build against try#b8e88e5ddf5521a9f43ee3f62a702388c713e4bb for pr-155114
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIbrahimsterlingjomany%2Fsterling-amm-mainnet-7v9-verifiable-build" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  70% (9242/13037)
Updating files:  71% (9257/13037)
Updating files:  72% (9387/13037)
Updating files:  73% (9518/13037)
Updating files:  74% (9648/13037)
Updating files:  75% (9778/13037)
Updating files:  76% (9909/13037)
Updating files:  77% (10039/13037)
Updating files:  78% (10169/13037)
Updating files:  79% (10300/13037)
Updating files:  80% (10430/13037)
Updating files:  81% (10560/13037)
Updating files:  82% (10691/13037)
Updating files:  83% (10821/13037)
Updating files:  84% (10952/13037)
Updating files:  85% (11082/13037)
Updating files:  86% (11212/13037)
Updating files:  87% (11343/13037)
Updating files:  88% (11473/13037)
Updating files:  89% (11603/13037)
Updating files:  90% (11734/13037)
Updating files:  91% (11864/13037)
Updating files:  92% (11995/13037)
Updating files:  93% (12125/13037)
Updating files:  94% (12255/13037)
Updating files:  95% (12386/13037)
Updating files:  96% (12516/13037)
Updating files:  97% (12646/13037)
Updating files:  98% (12777/13037)
Updating files:  99% (12907/13037)
Updating files: 100% (13037/13037)
Updating files: 100% (13037/13037), done.
[INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/Ibrahimsterlingjomany/sterling-amm-mainnet-7v9-verifiable-build
[INFO] finished tweaking git repo https://github.com/Ibrahimsterlingjomany/sterling-amm-mainnet-7v9-verifiable-build
[INFO] tweaked toml for git repo https://github.com/Ibrahimsterlingjomany/sterling-amm-mainnet-7v9-verifiable-build written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Ibrahimsterlingjomany/sterling-amm-mainnet-7v9-verifiable-build on toolchain b8e88e5ddf5521a9f43ee3f62a702388c713e4bb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Ibrahimsterlingjomany/sterling-amm-mainnet-7v9-verifiable-build already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a661083c4b6eb0b0f17d047471d9439cbc7214d3e4f865d6e28d1ecbc07fede4
[INFO] running `Command { std: "docker" "start" "-a" "a661083c4b6eb0b0f17d047471d9439cbc7214d3e4f865d6e28d1ecbc07fede4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a661083c4b6eb0b0f17d047471d9439cbc7214d3e4f865d6e28d1ecbc07fede4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a661083c4b6eb0b0f17d047471d9439cbc7214d3e4f865d6e28d1ecbc07fede4", kill_on_drop: false }`
[INFO] [stdout] a661083c4b6eb0b0f17d047471d9439cbc7214d3e4f865d6e28d1ecbc07fede4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b8ba71199ff43b099c38b7658e1b66b273d60762ae3414d6387677837dfe70c6
[INFO] running `Command { std: "docker" "start" "-a" "b8ba71199ff43b099c38b7658e1b66b273d60762ae3414d6387677837dfe70c6", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling libc v0.2.182
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling zerocopy v0.8.39
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling zmij v1.0.19
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling block-padding v0.2.1
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.108
[INFO] [stderr]    Compiling winnow v0.7.14
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling solana-frozen-abi-macro v1.18.26
[INFO] [stderr]    Compiling bitmaps v2.1.0
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling im v15.1.0
[INFO] [stderr]    Compiling libsecp256k1-core v0.2.2
[INFO] [stderr]    Compiling bumpalo v3.19.1
[INFO] [stderr]    Compiling keccak v0.1.6
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling wasm-bindgen v0.2.108
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling solana-frozen-abi v1.18.26
[INFO] [stderr]    Compiling indexmap v2.3.0
[INFO] [stderr]    Compiling bs58 v0.4.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling regex-syntax v0.8.9
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.2.1
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.2.1
[INFO] [stderr]    Compiling sized-chunks v0.6.5
[INFO] [stderr]    Compiling signature v1.6.4
[INFO] [stderr]    Compiling humantime v2.3.0
[INFO] [stderr]    Compiling cc v1.2.56
[INFO] [stderr]    Compiling libsecp256k1 v0.6.0
[INFO] [stderr]    Compiling ed25519 v1.5.3
[INFO] [stderr]    Compiling solana-sdk v1.18.26
[INFO] [stderr]    Compiling derivation-path v0.2.0
[INFO] [stderr]    Compiling qstring v0.7.2
[INFO] [stderr]    Compiling chrono v0.4.43
[INFO] [stderr]    Compiling assert_matches v1.5.0
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling memmap2 v0.5.10
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_xoshiro v0.6.0
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling blake3 v1.5.5 (https://github.com/BLAKE3-team/BLAKE3?tag=1.5.5#81f772a4)
[INFO] [stderr]    Compiling solana-program v1.18.26
[INFO] [stderr]    Compiling serde_bytes v0.11.19
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling solana-security-txt v1.1.2
[INFO] [stderr]    Compiling hashbrown v0.13.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling proc-macro-crate v3.2.0
[INFO] [stderr]    Compiling ark-std v0.4.0
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling borsh-derive-internal v0.10.4
[INFO] [stderr]    Compiling borsh-derive-internal v0.9.3
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.9.3
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.10.4
[INFO] [stderr]    Compiling env_logger v0.9.3
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.108
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling solana-logger v1.18.26
[INFO] [stderr]    Compiling ark-serialize-derive v0.4.2
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling ark-ff-asm v0.4.2
[INFO] [stderr]    Compiling ark-ff-macros v0.4.2
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling anchor-derive-space v0.29.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zeroize_derive v1.4.3
[INFO] [stderr]    Compiling bytemuck_derive v1.10.2
[INFO] [stderr]    Compiling borsh-derive v1.5.7
[INFO] [stderr]    Compiling solana-sdk-macro v1.18.26
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling num_enum_derive v0.7.5
[INFO] [stderr]    Compiling qualifier_attr v0.2.2
[INFO] [stderr]    Compiling spl-program-error-derive v0.3.2
[INFO] [stderr]    Compiling num_enum_derive v0.6.1
[INFO] [stderr]    Compiling zeroize v1.3.0
[INFO] [stderr]    Compiling merlin v3.0.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling spl-discriminator-syn v0.1.2
[INFO] [stderr]    Compiling num_enum v0.7.5
[INFO] [stderr]    Compiling num_enum v0.6.1
[INFO] [stderr]    Compiling spl-discriminator-derive v0.1.2
[INFO] [stderr]    Compiling bytemuck v1.25.0
[INFO] [stderr]    Compiling borsh v1.5.7
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.108
[INFO] [stderr]    Compiling serde_with_macros v2.3.3
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling anchor-syn v0.29.0
[INFO] [stderr]    Compiling bv v0.11.1
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling serde_with v2.3.3
[INFO] [stderr]    Compiling borsh-derive v0.9.3
[INFO] [stderr]    Compiling borsh-derive v0.10.4
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling cipher v0.3.0
[INFO] [stderr]    Compiling universal-hash v0.4.1
[INFO] [stderr]    Compiling aead v0.4.3
[INFO] [stderr]    Compiling borsh v0.9.3
[INFO] [stderr]    Compiling ctr v0.8.0
[INFO] [stderr]    Compiling polyval v0.5.3
[INFO] [stderr]    Compiling aes v0.7.5
[INFO] [stderr]    Compiling curve25519-dalek v3.2.1
[INFO] [stderr]    Compiling hmac v0.8.1
[INFO] [stderr]    Compiling pbkdf2 v0.4.0
[INFO] [stderr]    Compiling borsh v0.10.4
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling sha3 v0.9.1
[INFO] [stderr]    Compiling hmac-drbg v0.3.0
[INFO] [stderr]    Compiling ark-serialize v0.4.2
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling tiny-bip39 v0.8.2
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling pbkdf2 v0.11.0
[INFO] [stderr]    Compiling aes-gcm-siv v0.10.3
[INFO] [stderr]    Compiling ark-ff v0.4.2
[INFO] [stderr]    Compiling ed25519-dalek v1.0.1
[INFO] [stderr]    Compiling ed25519-dalek-bip32 v0.2.0
[INFO] [stderr]    Compiling anchor-attribute-event v0.29.0
[INFO] [stderr]    Compiling anchor-attribute-constant v0.29.0
[INFO] [stderr]    Compiling anchor-attribute-program v0.29.0
[INFO] [stderr]    Compiling anchor-attribute-error v0.29.0
[INFO] [stderr]    Compiling anchor-attribute-access-control v0.29.0
[INFO] [stderr]    Compiling anchor-attribute-account v0.29.0
[INFO] [stderr]    Compiling anchor-derive-accounts v0.29.0
[INFO] [stderr]    Compiling anchor-derive-serde v0.29.0
[INFO] [stderr]    Compiling ark-poly v0.4.2
[INFO] [stderr]    Compiling ark-ec v0.4.2
[INFO] [stderr]    Compiling ark-bn254 v0.4.0
[INFO] [stderr]    Compiling light-poseidon v0.2.0
[INFO] [stderr]    Compiling spl-program-error v0.3.0
[INFO] [stderr]    Compiling spl-discriminator v0.1.0
[INFO] [stderr]    Compiling spl-memo v4.0.0
[INFO] [stderr]    Compiling spl-token v4.0.0
[INFO] [stderr]    Compiling anchor-lang v0.29.0
[INFO] [stderr]    Compiling solana-zk-token-sdk v1.18.26
[INFO] [stderr]    Compiling spl-pod v0.1.0
[INFO] [stderr]    Compiling spl-type-length-value v0.3.0
[INFO] [stderr]    Compiling spl-token-group-interface v0.1.0
[INFO] [stderr]    Compiling spl-tlv-account-resolution v0.5.1
[INFO] [stderr]    Compiling spl-token-metadata-interface v0.2.0
[INFO] [stderr]    Compiling spl-tlv-account-resolution v0.4.0
[INFO] [stderr]    Compiling spl-transfer-hook-interface v0.4.1
[INFO] [stderr]    Compiling spl-transfer-hook-interface v0.3.0
[INFO] [stderr]    Compiling spl-token-2022 v0.9.0
[INFO] [stderr]    Compiling spl-token-2022 v1.0.0
[INFO] [stderr]    Compiling spl-associated-token-account v2.3.0
[INFO] [stderr]    Compiling anchor-spl v0.29.0
[INFO] [stderr]    Compiling sterling_amm v0.1.0 (/opt/rustwide/workdir/programs/sterling_amm)
[INFO] [stdout] warning: unexpected `cfg` condition value: `solana`
[INFO] [stdout]     --> programs/sterling_amm/src/lib.rs:1801:1
[INFO] [stdout]      |
[INFO] [stdout] 1801 | #[program]
[INFO] [stdout]      | ^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more
[INFO] [stdout]      = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]      = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]      = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program`
[INFO] [stdout]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]      = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]      = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `solana`
[INFO] [stdout]     --> programs/sterling_amm/src/lib.rs:1801:1
[INFO] [stdout]      |
[INFO] [stdout] 1801 | #[program]
[INFO] [stdout]      | ^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more
[INFO] [stdout]      = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]      = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]      = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program`
[INFO] [stdout]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]      = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `begin_claim_live_execution` is never used
[INFO] [stdout]    --> programs/sterling_amm/src/lib.rs:445:4
[INFO] [stdout]     |
[INFO] [stdout] 445 | fn begin_claim_live_execution(claim: &mut SettlementClaim, expected_user: Pubkey) -> Result<()> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_sovereign_remaining_accounts` is never used
[INFO] [stdout]    --> programs/sterling_amm/src/lib.rs:672:4
[INFO] [stdout]     |
[INFO] [stdout] 672 | fn parse_sovereign_remaining_accounts<'info>(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `protocol_fee_payout_preference` is never used
[INFO] [stdout]     --> programs/sterling_amm/src/lib.rs:8272:4
[INFO] [stdout]      |
[INFO] [stdout] 8272 | fn protocol_fee_payout_preference(config: &Config) -> Option<(Pubkey, Pubkey, u8)> {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `protocol_fee_event_metadata` is never used
[INFO] [stdout]     --> programs/sterling_amm/src/lib.rs:8285:4
[INFO] [stdout]      |
[INFO] [stdout] 8285 | fn protocol_fee_event_metadata(config: &Config) -> (Pubkey, Pubkey, u8) {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `accrue_protocol_fee_debt` is never used
[INFO] [stdout]     --> programs/sterling_amm/src/lib.rs:8416:4
[INFO] [stdout]      |
[INFO] [stdout] 8416 | fn accrue_protocol_fee_debt(pool: &mut Pool, usd_micros: u64, now: i64) -> u64 {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reusable_protocol_debt_lot_index` is never used
[INFO] [stdout]     --> programs/sterling_amm/src/lib.rs:8434:4
[INFO] [stdout]      |
[INFO] [stdout] 8434 | fn reusable_protocol_debt_lot_index(ledger_data: &[u8]) -> Result<Option<usize>> {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `record_protocol_fee_debt` is never used
[INFO] [stdout]     --> programs/sterling_amm/src/lib.rs:8935:4
[INFO] [stdout]      |
[INFO] [stdout] 8935 | fn record_protocol_fee_debt<'info>(
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_protocol_debt_ticket_materialization` is never used
[INFO] [stdout]     --> programs/sterling_amm/src/lib.rs:9124:4
[INFO] [stdout]      |
[INFO] [stdout] 9124 | fn validate_protocol_debt_ticket_materialization(
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `initialize_protocol_debt_ledger` is never used
[INFO] [stdout]      --> programs/sterling_amm/src/lib.rs:11479:4
[INFO] [stdout]       |
[INFO] [stdout] 11479 | fn initialize_protocol_debt_ledger(
[INFO] [stdout]       |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `legacy_internal_settlement_disabled` is never used
[INFO] [stdout]      --> programs/sterling_amm/src/lib.rs:11949:4
[INFO] [stdout]       |
[INFO] [stdout] 11949 | fn legacy_internal_settlement_disabled() -> Result<()> {
[INFO] [stdout]       |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 50s
[INFO] running `Command { std: "docker" "inspect" "b8ba71199ff43b099c38b7658e1b66b273d60762ae3414d6387677837dfe70c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b8ba71199ff43b099c38b7658e1b66b273d60762ae3414d6387677837dfe70c6", kill_on_drop: false }`
[INFO] [stdout] b8ba71199ff43b099c38b7658e1b66b273d60762ae3414d6387677837dfe70c6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3521a975399b70c4a32612d3e77b8456d609b3d5a42e81cc02f22dadd1edc950
[INFO] running `Command { std: "docker" "start" "-a" "3521a975399b70c4a32612d3e77b8456d609b3d5a42e81cc02f22dadd1edc950", kill_on_drop: false }`
[INFO] [stdout] warning: unexpected `cfg` condition value: `solana`
[INFO] [stdout]     --> programs/sterling_amm/src/lib.rs:1801:1
[INFO] [stdout]      |
[INFO] [stdout] 1801 | #[program]
[INFO] [stdout]      | ^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more
[INFO] [stdout]      = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]      = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]      = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program`
[INFO] [stdout]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]      = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]      = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `solana`
[INFO] [stdout]     --> programs/sterling_amm/src/lib.rs:1801:1
[INFO] [stdout]      |
[INFO] [stdout] 1801 | #[program]
[INFO] [stdout]      | ^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more
[INFO] [stdout]      = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]      = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]      = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program`
[INFO] [stdout]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]      = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling sterling_amm v0.1.0 (/opt/rustwide/workdir/programs/sterling_amm)
[INFO] [stdout] warning: function `begin_claim_live_execution` is never used
[INFO] [stdout]    --> programs/sterling_amm/src/lib.rs:445:4
[INFO] [stdout]     |
[INFO] [stdout] 445 | fn begin_claim_live_execution(claim: &mut SettlementClaim, expected_user: Pubkey) -> Result<()> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_sovereign_remaining_accounts` is never used
[INFO] [stdout]    --> programs/sterling_amm/src/lib.rs:672:4
[INFO] [stdout]     |
[INFO] [stdout] 672 | fn parse_sovereign_remaining_accounts<'info>(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `protocol_fee_payout_preference` is never used
[INFO] [stdout]     --> programs/sterling_amm/src/lib.rs:8272:4
[INFO] [stdout]      |
[INFO] [stdout] 8272 | fn protocol_fee_payout_preference(config: &Config) -> Option<(Pubkey, Pubkey, u8)> {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `protocol_fee_event_metadata` is never used
[INFO] [stdout]     --> programs/sterling_amm/src/lib.rs:8285:4
[INFO] [stdout]      |
[INFO] [stdout] 8285 | fn protocol_fee_event_metadata(config: &Config) -> (Pubkey, Pubkey, u8) {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `accrue_protocol_fee_debt` is never used
[INFO] [stdout]     --> programs/sterling_amm/src/lib.rs:8416:4
[INFO] [stdout]      |
[INFO] [stdout] 8416 | fn accrue_protocol_fee_debt(pool: &mut Pool, usd_micros: u64, now: i64) -> u64 {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reusable_protocol_debt_lot_index` is never used
[INFO] [stdout]     --> programs/sterling_amm/src/lib.rs:8434:4
[INFO] [stdout]      |
[INFO] [stdout] 8434 | fn reusable_protocol_debt_lot_index(ledger_data: &[u8]) -> Result<Option<usize>> {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `record_protocol_fee_debt` is never used
[INFO] [stdout]     --> programs/sterling_amm/src/lib.rs:8935:4
[INFO] [stdout]      |
[INFO] [stdout] 8935 | fn record_protocol_fee_debt<'info>(
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_protocol_debt_ticket_materialization` is never used
[INFO] [stdout]     --> programs/sterling_amm/src/lib.rs:9124:4
[INFO] [stdout]      |
[INFO] [stdout] 9124 | fn validate_protocol_debt_ticket_materialization(
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `initialize_protocol_debt_ledger` is never used
[INFO] [stdout]      --> programs/sterling_amm/src/lib.rs:11479:4
[INFO] [stdout]       |
[INFO] [stdout] 11479 | fn initialize_protocol_debt_ledger(
[INFO] [stdout]       |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `legacy_internal_settlement_disabled` is never used
[INFO] [stdout]      --> programs/sterling_amm/src/lib.rs:11949:4
[INFO] [stdout]       |
[INFO] [stdout] 11949 | fn legacy_internal_settlement_disabled() -> Result<()> {
[INFO] [stdout]       |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `solana`
[INFO] [stdout]     --> programs/sterling_amm/src/lib.rs:1801:1
[INFO] [stdout]      |
[INFO] [stdout] 1801 | #[program]
[INFO] [stdout]      | ^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more
[INFO] [stdout]      = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]      = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]      = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program`
[INFO] [stdout]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]      = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]      = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `solana`
[INFO] [stdout]     --> programs/sterling_amm/src/lib.rs:1801:1
[INFO] [stdout]      |
[INFO] [stdout] 1801 | #[program]
[INFO] [stdout]      | ^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more
[INFO] [stdout]      = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]      = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]      = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program`
[INFO] [stdout]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]      = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anchor_lang::Discriminator`
[INFO] [stdout]     --> programs/sterling_amm/src/lib.rs:9487:9
[INFO] [stdout]      |
[INFO] [stdout] 9487 |     use anchor_lang::Discriminator;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_sovereign_remaining_accounts` is never used
[INFO] [stdout]    --> programs/sterling_amm/src/lib.rs:672:4
[INFO] [stdout]     |
[INFO] [stdout] 672 | fn parse_sovereign_remaining_accounts<'info>(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `protocol_fee_payout_preference` is never used
[INFO] [stdout]     --> programs/sterling_amm/src/lib.rs:8272:4
[INFO] [stdout]      |
[INFO] [stdout] 8272 | fn protocol_fee_payout_preference(config: &Config) -> Option<(Pubkey, Pubkey, u8)> {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `protocol_fee_event_metadata` is never used
[INFO] [stdout]     --> programs/sterling_amm/src/lib.rs:8285:4
[INFO] [stdout]      |
[INFO] [stdout] 8285 | fn protocol_fee_event_metadata(config: &Config) -> (Pubkey, Pubkey, u8) {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reusable_protocol_debt_lot_index` is never used
[INFO] [stdout]     --> programs/sterling_amm/src/lib.rs:8434:4
[INFO] [stdout]      |
[INFO] [stdout] 8434 | fn reusable_protocol_debt_lot_index(ledger_data: &[u8]) -> Result<Option<usize>> {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `record_protocol_fee_debt` is never used
[INFO] [stdout]     --> programs/sterling_amm/src/lib.rs:8935:4
[INFO] [stdout]      |
[INFO] [stdout] 8935 | fn record_protocol_fee_debt<'info>(
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_protocol_debt_ticket_materialization` is never used
[INFO] [stdout]     --> programs/sterling_amm/src/lib.rs:9124:4
[INFO] [stdout]      |
[INFO] [stdout] 9124 | fn validate_protocol_debt_ticket_materialization(
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 8.32s
[INFO] running `Command { std: "docker" "inspect" "3521a975399b70c4a32612d3e77b8456d609b3d5a42e81cc02f22dadd1edc950", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3521a975399b70c4a32612d3e77b8456d609b3d5a42e81cc02f22dadd1edc950", kill_on_drop: false }`
[INFO] [stdout] 3521a975399b70c4a32612d3e77b8456d609b3d5a42e81cc02f22dadd1edc950
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1c5d1a32751b3531d54eaa176b1599b678fcddb5c63fdc397112e776cd4ad80f
[INFO] running `Command { std: "docker" "start" "-a" "1c5d1a32751b3531d54eaa176b1599b678fcddb5c63fdc397112e776cd4ad80f", kill_on_drop: false }`
[INFO] [stderr] warning: unexpected `cfg` condition value: `solana`
[INFO] [stderr]     --> programs/sterling_amm/src/lib.rs:1801:1
[INFO] [stderr]      |
[INFO] [stderr] 1801 | #[program]
[INFO] [stderr]      | ^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more
[INFO] [stderr]      = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stderr]      = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg
[INFO] [stderr]      = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program`
[INFO] [stderr]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]      = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr]      = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `solana`
[INFO] [stderr]     --> programs/sterling_amm/src/lib.rs:1801:1
[INFO] [stderr]      |
[INFO] [stderr] 1801 | #[program]
[INFO] [stderr]      | ^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more
[INFO] [stderr]      = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stderr]      = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg
[INFO] [stderr]      = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program`
[INFO] [stderr]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]      = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: function `begin_claim_live_execution` is never used
[INFO] [stderr]    --> programs/sterling_amm/src/lib.rs:445:4
[INFO] [stderr]     |
[INFO] [stderr] 445 | fn begin_claim_live_execution(claim: &mut SettlementClaim, expected_user: Pubkey) -> Result<()> {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `parse_sovereign_remaining_accounts` is never used
[INFO] [stderr]    --> programs/sterling_amm/src/lib.rs:672:4
[INFO] [stderr]     |
[INFO] [stderr] 672 | fn parse_sovereign_remaining_accounts<'info>(
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `protocol_fee_payout_preference` is never used
[INFO] [stderr]     --> programs/sterling_amm/src/lib.rs:8272:4
[INFO] [stderr]      |
[INFO] [stderr] 8272 | fn protocol_fee_payout_preference(config: &Config) -> Option<(Pubkey, Pubkey, u8)> {
[INFO] [stderr]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `protocol_fee_event_metadata` is never used
[INFO] [stderr]     --> programs/sterling_amm/src/lib.rs:8285:4
[INFO] [stderr]      |
[INFO] [stderr] 8285 | fn protocol_fee_event_metadata(config: &Config) -> (Pubkey, Pubkey, u8) {
[INFO] [stderr]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `accrue_protocol_fee_debt` is never used
[INFO] [stderr]     --> programs/sterling_amm/src/lib.rs:8416:4
[INFO] [stderr]      |
[INFO] [stderr] 8416 | fn accrue_protocol_fee_debt(pool: &mut Pool, usd_micros: u64, now: i64) -> u64 {
[INFO] [stderr]      |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `reusable_protocol_debt_lot_index` is never used
[INFO] [stderr]     --> programs/sterling_amm/src/lib.rs:8434:4
[INFO] [stderr]      |
[INFO] [stderr] 8434 | fn reusable_protocol_debt_lot_index(ledger_data: &[u8]) -> Result<Option<usize>> {
[INFO] [stderr]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `record_protocol_fee_debt` is never used
[INFO] [stderr]     --> programs/sterling_amm/src/lib.rs:8935:4
[INFO] [stderr]      |
[INFO] [stderr] 8935 | fn record_protocol_fee_debt<'info>(
[INFO] [stderr]      |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `validate_protocol_debt_ticket_materialization` is never used
[INFO] [stderr]     --> programs/sterling_amm/src/lib.rs:9124:4
[INFO] [stderr]      |
[INFO] [stderr] 9124 | fn validate_protocol_debt_ticket_materialization(
[INFO] [stderr]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `initialize_protocol_debt_ledger` is never used
[INFO] [stderr]      --> programs/sterling_amm/src/lib.rs:11479:4
[INFO] [stderr]       |
[INFO] [stderr] 11479 | fn initialize_protocol_debt_ledger(
[INFO] [stderr]       |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `legacy_internal_settlement_disabled` is never used
[INFO] [stderr]      --> programs/sterling_amm/src/lib.rs:11949:4
[INFO] [stderr]       |
[INFO] [stderr] 11949 | fn legacy_internal_settlement_disabled() -> Result<()> {
[INFO] [stderr]       |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `anchor_lang::Discriminator`
[INFO] [stderr]     --> programs/sterling_amm/src/lib.rs:9487:9
[INFO] [stderr]      |
[INFO] [stderr] 9487 |     use anchor_lang::Discriminator;
[INFO] [stderr]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `parse_sovereign_remaining_accounts` is never used
[INFO] [stderr]    --> programs/sterling_amm/src/lib.rs:672:4
[INFO] [stderr]     |
[INFO] [stderr] 672 | fn parse_sovereign_remaining_accounts<'info>(
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `sterling_amm` (lib) generated 12 warnings
[INFO] [stderr] warning: `sterling_amm` (lib test) generated 9 warnings (7 duplicates) (run `cargo fix --lib -p sterling_amm --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sterling_amm-6ee5d19a8b42faf4)
[INFO] [stdout] 
[INFO] [stdout] running 69 tests
[INFO] [stdout] test test_id ... ok
[INFO] [stdout] test tests::choose_claim_settlement_action_falls_back_to_need_payout_when_no_stable_liquidity ... ok
[INFO] [stdout] test tests::choose_claim_settlement_action_prefers_direct_cash_rail_before_usdt_fallback ... ok
[INFO] [stdout] test tests::choose_claim_settlement_action_uses_configured_extra_cash_rail ... ok
[INFO] [stdout] test tests::canonical_claim_usdt_fallback_vault_address_is_stable_for_same_mint ... ok
[INFO] [stdout] test tests::choose_claim_settlement_action_prefers_reward_vault ... ok
[INFO] [stdout] test tests::choose_claim_settlement_action_uses_direct_usdc_cash_rail_without_reward_vault ... ok
[INFO] [stdout] test tests::choose_sovereign_route_execution_kind_uses_buffered_and_burn_release_symmetrically ... ok
[INFO] [stdout] test tests::choose_swap_fee_settlement_action_falls_back_to_protocol_debt ... ok
[INFO] [stdout] test tests::choose_claim_settlement_action_uses_direct_usdt_cash_rail_without_reward_vault ... ok
[INFO] [stdout] test tests::choose_swap_fee_settlement_action_uses_burn_to_usdc_when_available ... ok
[INFO] [stdout] test tests::choose_swap_fee_settlement_action_prefers_direct_usdc ... ok
[INFO] [stdout] test tests::choose_swap_fee_settlement_action_uses_burn_to_usdt_when_usdc_unavailable ... ok
[INFO] [stdout] test tests::classify_live_sovereign_settlement_accepts_configured_stable_outputs ... ok
[INFO] [stdout] test tests::classify_live_sovereign_settlement_auto_rejects_non_stable_outputs ... ok
[INFO] [stdout] test tests::classify_live_sovereign_settlement_routes_wsol_to_native_sol_only ... ok
[INFO] [stdout] test tests::compute_fee_amount_for_target_usdc_out_ceil_exact_usdc_identity ... ok
[INFO] [stdout] test tests::compute_usdc_settlement_amount_can_round_down_to_zero ... ok
[INFO] [stdout] test tests::compute_usdc_settlement_amount_converts_non_usdc_fee ... ok
[INFO] [stdout] test tests::compute_usdc_settlement_amount_is_identity_for_usdc_fee ... ok
[INFO] [stdout] test tests::defer_swap_fee_settlement_for_fully_sovereign_pool ... ok
[INFO] [stdout] test tests::direct_stable_live_route_quotes_usdc_output ... ok
[INFO] [stdout] test tests::claim_live_execution_rejects_unfunded_state ... ok
[INFO] [stdout] test tests::claim_funded_live_swap_transitions_to_settled ... ok
[INFO] [stdout] test tests::direct_stable_live_route_quotes_usdt_output ... ok
[INFO] [stdout] test tests::legacy_internal_settlement_helper_is_disabled ... ok
[INFO] [stdout] test tests::is_configured_extra_payout_mint_recognizes_only_configured_extras ... ok
[INFO] [stdout] test tests::live_escrow_route_binding_rejects_wrong_authority_account ... ok
[INFO] [stdout] test tests::ensure_usdc_settlement_liquidity_fails_when_coffre_is_insufficient ... ok
[INFO] [stdout] test tests::floor_price_check_accepts_post_swap_price_at_or_above_floor ... ok
[INFO] [stdout] test tests::floor_price_check_rejects_post_swap_price_below_floor ... ok
[INFO] [stdout] test tests::initialize_asset_registry_sets_runtime_fields ... ok
[INFO] [stdout] test tests::live_sovereign_source_kind_rejects_ticket_claim_and_debt ... ok
[INFO] [stdout] test tests::initialize_protocol_debt_ledger_sets_header_only ... ok
[INFO] [stdout] test tests::do_not_defer_swap_fee_settlement_when_pool_has_stable_side ... ok
[INFO] [stdout] test tests::parse_live_swap_accounts_rejects_missing_live_route ... ok
[INFO] [stdout] test tests::parse_escrow_live_swap_accounts_rejects_missing_live_route ... ok
[INFO] [stdout] test tests::protocol_debt_lot_settlement_accepts_ticketed_lot ... ok
[INFO] [stdout] test tests::protocol_debt_lot_settlement_reduces_aggregate ... ok
[INFO] [stdout] test tests::protocol_debt_live_execution_rejects_unfunded_state ... ok
[INFO] [stdout] test tests::pool_init_helpers_set_all_runtime_addresses ... ok
[INFO] [stdout] test tests::pool_len_matches_serialized_layout ... ok
[INFO] [stdout] test tests::protocol_debt_funded_live_swap_transitions_to_settled ... ok
[INFO] [stdout] test tests::protocol_debt_ledger_len_matches_serialized_layout ... ok
[INFO] [stdout] test tests::live_quote_rejects_wrong_pool_route ... ok
[INFO] [stdout] test tests::protocol_fee_debt_shard_count_keeps_single_lot_under_cap ... ok
[INFO] [stdout] test tests::protocol_fee_debt_shard_count_splits_over_cap ... ok
[INFO] [stdout] test tests::requested_claim_direct_cash_rail_is_symmetric_for_usdc_and_usdt ... ok
[INFO] [stdout] test tests::source_escrow_binding_rejects_wrong_mint ... ok
[INFO] [stdout] test tests::source_escrow_binding_rejects_wrong_owner ... ok
[INFO] [stdout] test tests::temporary_wsol_output_account_must_start_empty ... ok
[INFO] [stdout] test tests::source_escrow_binding_rejects_wrong_locked_amount ... ok
[INFO] [stdout] test tests::staking_claim_reward_is_value_based_and_independent_from_reward_vault_funding ... ok
[INFO] [stdout] test tests::settle_protocol_debt_lots_handles_partial_open_lot_without_dropping_count ... ok
[INFO] [stdout] test tests::ticket_double_settlement_is_rejected ... ok
[INFO] [stdout] test tests::ticket_live_execution_rejects_unfunded_state ... ok
[INFO] [stdout] test tests::validate_claimable_ticket_accepts_already_payable_ticket ... ok
[INFO] [stdout] test tests::valued_live_route_quotes_usdc_output ... ok
[INFO] [stdout] test tests::settle_protocol_debt_lots_updates_overflow_logical_count ... ok
[INFO] [stdout] test tests::source_escrow_binding_rejects_unfunded_state ... ok
[INFO] [stdout] test tests::source_escrow_binding_rejects_wrong_ata ... ok
[INFO] [stdout] test tests::valued_live_route_quotes_sol_output ... ok
[INFO] [stdout] test tests::valued_live_route_quotes_usdt_output ... ok
[INFO] [stdout] test tests::accrue_protocol_fee_debt_state_is_reusable_without_corruption ... ok
[INFO] [stdout] test tests::choose_sovereign_route_execution_kind_prefers_live_when_route_is_live ... ok
[INFO] [stdout] test tests::compute_fee_amount_for_target_usdc_out_ceil_minimal_fragment ... ok
[INFO] [stdout] test tests::choose_claim_settlement_action_uses_usdt_vault_fallback ... ok
[INFO] [stdout] test tests::direct_stable_live_route_quotes_sol_output ... ok
[INFO] [stdout] test tests::ticket_funded_live_swap_transitions_to_settled ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 69 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests sterling_amm
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "1c5d1a32751b3531d54eaa176b1599b678fcddb5c63fdc397112e776cd4ad80f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c5d1a32751b3531d54eaa176b1599b678fcddb5c63fdc397112e776cd4ad80f", kill_on_drop: false }`
[INFO] [stdout] 1c5d1a32751b3531d54eaa176b1599b678fcddb5c63fdc397112e776cd4ad80f
